<?php
function validateEmail($postData) {
	print_r($_POST); echo "aa";
}

function validator_checkEmail(PFC_Base $control) {
	$val = $control->getValue();
	if ( strlen($val) < 10 ) {
		return "Must be greater than 10 chars";
	}
	return TRUE;
}

function onSuccess(PersistentForm $form) {
	return true; 
	$form->invlidate("qwq'wsdds\"rtet\\we");
	return FALSE;
}
?>